package com.twotwoshop.domin.goods.dtos;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import java.math.BigDecimal;
import java.util.List;

@Data
public class ProductDto {

    private Long id;

    private String title;
    //描述
    private String description;

    //图片
    // 将String类型改为List<String>类型
    private List<String> images;

    //价格
    private BigDecimal price;

    private BigDecimal originalPrice;

    /**
     * 0 下架
     * 1 上架
     */
    private Integer status;

    private Long categoryId;

    private String location;

    //商品发布者id
    private Long userId;
}